package test03.tst02;

/**
 * @Author czl
 * @Date 2024-04-16
 */
public class MainTest {
    public static void main(String[] args) {
        Student student = new Student();

        student.setName("黑佬");

        student.setGrade(Grade.B);

        System.out.println(student);
        System.out.println("访问枚举成员的值：" + student.getGrade().getValue());
    }
}
